$('#newFile').click(function() {
    //Draw new diagram frame

    $("#diagramArea").empty();
    var drawing = SVG("diagramArea").size('100%', '100%');
    var rect = drawing.rect('100', '100').attr({fill: '#FFF'});
}
);